
1. COMPILING FIGURED

for p in *.fig ; do fig50 $p & done


2. PREPARING MODULES

in openbsd:
for each in *.fig ; do p=$(echo $each | tr "." "\n" | sed 1q) ; cp $p.fig.py $p.py ; done ; rm figured08.py *.pyc

this step is important, if you have extra .py copies of figured0n.fig.py they could get loaded as a module (this would cause errors).


3. STARTING FIGURED

./figured.fig.py

you can rename this, as long as its not in the same folder as the modules. for example you can copy it to /usr/local/bin as ./figured

history | ./figured.fig.py .gstdin

this will pipe the output of history to the editor-- you will still be able to edit the buffer.

./figured.fig.py .sh ls

this will start the editor with the command .sh ls-- you will still be able to edit.


# Copyright (C) 2021 mn
#
# This program is free software: you can redistribute it and/or modify 
#
# it under the terms of the GNU Affero General Public License as published by 
# the Free Software Foundation, either version 3 of the License, or 
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, 
# but WITHOUT ANY WARRANTY; without even the implied warranty of 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License 
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
